package cn.com.coding.system.dao;

import cn.com.coding.system.domin.UserInfoEntity;
import cn.com.coding.system.domin.dto.UserInfoDto;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户
 *
 * @author mxz
 */
@Mapper
public interface UserInfoDao extends BaseMapper<UserInfoEntity> {

    IPage<UserInfoDto> selectMyPage(IPage<UserInfoDto> page, @Param(Constants.WRAPPER) Wrapper<UserInfoDto> queryWrapper);
}
